package com.cube.springtest.aqs.test;

import java.util.concurrent.locks.ReentrantLock;

public class CustomerLock {
    private  int a ;

    public int getA(){
        return a;
    }
    public static void main(String[] args) {
        ReentrantLock lock = new ReentrantLock();
        lock.lock();
        CustomerLock l = new CustomerLock();
        System.out.println(l.test());
    }

    int test(){
        return getA();
    }
}
